package com.zbkj.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 后台管理员表
 * </p>
 *
 * @author Your Name
 * @since 2024-12-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("eb_system_admin")
@ApiModel(value="SystemAdmin对象", description="后台管理员表")
public class SystemAdmin implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "后台管理员表ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty(value = "后台管理员账号")
      private String account;

      @ApiModelProperty(value = "后台管理员密码")
      private String pwd;

      @ApiModelProperty(value = "后台管理员姓名")
      private String realName;

      @ApiModelProperty(value = "后台管理员权限(menus_id)")
      private String roles;

      @ApiModelProperty(value = "后台管理员最后一次登录ip")
      private String lastIp;

      @ApiModelProperty(value = "后台管理员最后一次登录时间")
      private LocalDateTime updateTime;

      @ApiModelProperty(value = "后台管理员添加时间")
      private LocalDateTime createTime;

      @ApiModelProperty(value = "登录次数")
      private Integer loginCount;

      @ApiModelProperty(value = "后台管理员级别")
      private Integer level;

      @ApiModelProperty(value = "后台管理员状态 1有效0无效")
      private Integer status;

    private Integer isDel;

      @ApiModelProperty(value = "手机号码")
      private String phone;

      @ApiModelProperty(value = "是否接收短信")
      private Integer isSms;


}
